{% extends "admin/base.html" %}

{% block content %}

<script language="javascript" type="text/javascript" src="/static/tiny_mce/tiny_mce.js"></script>
<script language="javascript" type="text/javascript">
tinyMCE.init({
	mode : "textareas",
	theme : "advanced",
	theme_advanced_toolbar_location : "top",
	plugins : "emotions",
	theme_advanced_buttons3_add : "emotions"

});
</script>

	<a href='/admin'>Admin Center</a>
	<h1>Add {{ type }}</h1>
	<form name="mainForm" method="post" action="" onsubmit="">
		<table width=800>
	    	{{ form.as_table }}
	    </table>
	    <input type="submit" value="Save"/>
	</form>

{% endblock %}